toIngredient

fun toIngredient(): Ingredient

Deprecated

24w34a+: Ingredient creation can now throw UnsupportedOperationException, be sure to handle.

Supplies the Ingredient from this ValidatedIngredients Provider

Return

Ingredient generated from the current IngredientProvider

Author

fzzyhmstrs

Since

0.2.0

Throws

  • if the ingredient can't be correctly created, Ingredient now throws an exception, and no longer allows for empty ingredients.